package com.sunshine.controller.convert;

import com.sunshine.controller.dto.SubjectAnswerDTO;
import com.sunshine.controller.dto.SubjectInfoDTO;
import com.sunshine.domain.entity.SubjectAnswerBO;
import com.sunshine.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @version 1.0
 * @Author 夏百友
 * @Date 2025/11/2 16:21
 */
@Mapper
public interface SubjectAnswerConvertDTO {

    SubjectAnswerConvertDTO INSTANCE = Mappers.getMapper(SubjectAnswerConvertDTO.class);

    SubjectAnswerBO convertDtoToBo(SubjectAnswerDTO subjectAnswerDTO);
    List<SubjectAnswerBO> convertListDtoToBo(List<SubjectAnswerDTO> dtoList);

}